/*
 * @Description: Student
 * @Author: rendc
 * @Date: 2024-09-26 11:35:27
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-26 11:44:37
 */

/**
 * Student
 */
public class Student {
  private String name;
  private int age;

  public Student() {
  }

  public Student(String name, int age) {
    this.name = name;
    this.age = age;
  }

  // 重写toSting方法
  @Override
  public String toString() {
    return "Student{name:" + name + ",age:" + age + "}";
  }
}